package com.bus.entity;

import java.util.HashMap;

public class Products {

	public int productID;
	public String product_name;
	public Double income_price;
	public Providers pro;
	public int quantity;
	public Double sales_price;
	public Categorys cate;
	public String income_time;
	private HashMap<String, Integer> map;

	public HashMap<String, Integer> getMap() {
		return map;
	}

	public Products() {
		super();
	}

	public Products(int productID, Providers pro, Categorys cate) {
		super();
		this.productID = productID;
		this.pro = pro;
		this.cate = cate;
	}

	public int getProductID() {
		return productID;
	}

	public void setProductID(int productID) {
		this.productID = productID;
	}

	public String getProduct_name() {
		return product_name;
	}

	public void setProduct_name(String product_name) {
		this.product_name = product_name;
	}

	public Double getIncome_price() {
		return income_price;
	}

	public void setIncome_price(Double income_price) {
		this.income_price = income_price;
	}

	public void setMap(HashMap<String, Integer> map) {
		this.map = map;
	}

	public Providers getPro() {
		return pro;
	}

	public void setPro(Providers pro) {
		this.pro = pro;
	}

	public int getQuantity() {
		return quantity;
	}

	public void setQuantity(int quantity) {
		this.quantity = quantity;
	}

	public Double getSales_price() {
		return sales_price;
	}

	public void setSales_price(Double sales_price) {
		this.sales_price = sales_price;
	}

	public Categorys getCate() {
		return cate;
	}

	public void setCate(Categorys cate) {
		this.cate = cate;
	}

	public String getIncome_time() {
		return income_time;
	}

	public void setIncome_time(String income_time) {
		this.income_time = income_time;
	}

	public Products(int productID, String product_name, Double income_price, Providers pro, int quantity,
			Double sales_price, Categorys cate, String income_time) {
		super();
		this.productID = productID;
		this.product_name = product_name;
		this.income_price = income_price;
		this.pro = pro;
		this.quantity = quantity;
		this.sales_price = sales_price;
		this.cate = cate;
		this.income_time = income_time;
	}

	public Products(int productID) {
		super();
		this.productID = productID;
	}

	public Products(int productID, String product_name) {
		super();
		this.productID = productID;
		this.product_name = product_name;
	}

	public Products(String product_name) {
		super();
		this.product_name = product_name;
	}

	public Products(String product_name, Providers pro, Categorys cate) {
		super();
		this.product_name = product_name;
		this.pro = pro;
		this.cate = cate;
	}

	public Products(int productID, String product_name, Providers pro, Categorys cate) {
		super();
		this.productID = productID;
		this.product_name = product_name;
		this.pro = pro;
		this.cate = cate;
	}

	public Products(String product_name, Double income_price, Providers pro, int quantity, Double sales_price,
			Categorys cate, String income_time) {
		super();
		this.product_name = product_name;
		this.income_price = income_price;
		this.pro = pro;
		this.quantity = quantity;
		this.sales_price = sales_price;
		this.cate = cate;
		this.income_time = income_time;
	}

	public Products(String product_name, Double income_price, Providers pro, int quantity, Double sales_price,
			Categorys cate) {
		super();
		this.product_name = product_name;
		this.income_price = income_price;
		this.pro = pro;
		this.quantity = quantity;
		this.sales_price = sales_price;
		this.cate = cate;
	}

	@Override
	public String toString() {
		return "Products [productID=" + productID + ", product_name=" + product_name + ", income_price=" + income_price
				+ ", pro=" + pro + ", quantity=" + quantity + ", sales_price=" + sales_price + ", cate=" + cate
				+ ", income_time=" + income_time + "]";
	}

}
